/**
 * Customised title bar 
 */
package com.gtug.hack.herbert_bangdao.Views;

import com.gtug.hack.herbert_bangdao.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.ImageView;
import android.widget.TextView;

public class CustomWindow extends Activity {
    protected TextView title;
    protected ImageView icon;
 
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //Enable extended window features
        requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
 
        setContentView(R.layout.main);
 
        getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title);
 
        //title = (TextView) findViewById(R.id.title);
       // icon  = (ImageView) findViewById(R.id.icon);
    }
}
